package com.purchase.util;

import java.io.Serializable;

public class ResponseForm implements Serializable {

	private static final long serialVersionUID = 1L;
	private boolean status = true;
	private String code = "0";
	private String message =LogInfo.SUCCESS;
	private Integer total = null; // 数据总数

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	private Object data = null;

	public void setStatus(boolean status) {
		this.status = status;
	}

	public boolean getStatus() {
		return this.status;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
